package com.mycompany;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@ComponentScan(basePackages = "com.mycompany")  // 扫描当前包下的组件
@EnableAspectJAutoProxy  // 启用AOP功能
public class AppConfig {
}
